package com.blog.dao;

import com.blog.pojo.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author
 * @create 2018-06-07 18:30
 **/
public interface CategoryMapper {
    List<Category> selectList();

    int  insert(@Param("sore") String  sore, @Param("name")String name);

    int update(@Param("id")String id, @Param("sore")String sore, @Param("name")String name);
    int deleteById(@Param("id")String id);
}
